define(function(require, exports, module) {
    'use strict';
    
    var rk = require('rk');
    
    require('../../su/accordion/oaTabCtrl');
    $.widget('rk.colleagueContentDetail', {
        _create:function(){
            var me = this;
            var elem = me.element;
            var opt = me.options;
            me._listeners();
        },
        _init:function(){
            var me = this;
            var elem = me.element;
            var opt = me.options;
            rk.post("/json/oa_profile/detail.action",{u:opt.uid},function(json){
                var temp = require("oa/tmpl/colleague/content/tpl_colleague_content_detail.tpl");
                var html = rk.templateText(temp,json);
                elem.html(html);
                elem.find("[act='colleague_content_detail_tabs']").tabs({
                    active:0,
                    collapsible: true
                });
            });
        },
        _listeners:function(){

        },
        loaddataParam:"",
        loaddata:function(type,param){

        }
    });
});